import request from '@/utils/request'

// 查询收款列表
export function listOrde(query) {
    return request({
        url: '/system/orderr/list',
        method: 'get',
        params: query
    })
}

// 查询收款详细
export function getOrde(recordId) {
    return request({
        url: '/system/orderr/' + recordId,
        method: 'get'
    })
}

// 新增收款
export function addOrde(data) {
    return request({
        url: '/system/orderr',
        method: 'post',
        data: data
    })
}

// 修改收款
export function updateOrde(data) {
    return request({
        url: '/system/orderr',
        method: 'put',
        data: data
    })
}

// 删除收款
export function delOrde(recordId) {
    return request({
        url: '/system/orderr/' + recordId,
        method: 'delete'
    })
}
